package com.yanqu.road.entity.player;

import com.yanqu.road.entity.DataObject;

import java.util.Objects;

public class GoodsFirstGetTimeData extends DataObject {
    private long userId;
    private int goodsId;
    private long firstGetTime;

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        if (!Objects.equals(this.userId, userId)) {
            this.userId = userId;
            setUpdateOption();
        }
    }

    public int getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(int goodsId) {
        if (!Objects.equals(this.goodsId, goodsId)) {
            this.goodsId = goodsId;
            setUpdateOption();
        }
    }

    public long getFirstGetTime() {
        return firstGetTime;
    }

    public void setFirstGetTime(long firstGetTime) {
        if (!Objects.equals(this.firstGetTime, firstGetTime)) {
            this.firstGetTime = firstGetTime;
            setUpdateOption();
        }
    }
}
